package com.qikux.service;

import com.qikux.dto.ResourceDTO;
import com.qikux.entity.Resource;
import com.qikux.entity.ResourceType;
import com.qikux.vo.PageVo;
import com.qikux.vo.R;

import java.util.List;

public interface ResourceService {
    R<List<ResourceType>> queryTypes();

    R<?> saveResource(Resource resource);

    R<PageVo<ResourceDTO>> queryResourceByType(Long typeId, PageVo<ResourceDTO> pageVo);
}
